<?php
@include_once('../include/init.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="author" content="www.Fooee.com,Nicholastse" />
<meta name="Copyright" content="FooeeShop CopyRight 2007" />
<meta name="keywords" content="FooeeShop,ASP,designing,with,web,standards,xhtml,css,graphic,design,layout,usability,ccessibility,w3c,w3,w3cn" />
<meta name="description" content="FooeeShop" />
<link rel="stylesheet" rev="stylesheet" href="resources/images/control.css" type="text/css" media="all" />
<title>管理系统</title>
<script>
	var _toolStatus = 1; // 默认打开
	function switchToolbar(o){
		if (_toolStatus) {
			_toolStatus = 0;
			o.src="images/openMenu.png";
			parent.document.getElementById("ContentSet").rows = "0,*";
		}else{
			_toolStatus = 1;
			o.src="images/closeMenu.png";
			parent.document.getElementById("ContentSet").rows = "80,*";
		}
	}
	
	function goFront(){
		parent.MainContent.location='../default.asp';
		try{
			
			 if (parent.Menu.LastItem!=null){
			 	 parent.Menu.LastItem.className="menuA"
			 }
			 parent.Menu.LastItem = null;
		}catch(e){
		}
	}
</script>
</head>
<body class="headbody">
	<div class="headmain">
		<div style="float:right;margin:4px;">		
			<img src="images/top_editpass.png" style="cursor:pointer" onclick="javascript:parent.MainContent.location='admin_editpass.php';" />
			<img src="images/closeMenu.png" style="cursor:pointer" onclick="switchToolbar(this)"/>
                        <img onclick="parent.MainContent.location='?do=logout'" src="images/logout.png" onmouseover="this.src='images/logoutIn.png'" onmouseout="this.src='images/logout.png'" style="cursor:pointer"/>
		</div>

<?php
	$do = fs_get_value('do');
	if($do=='logout'){
	  unset($_SESSION['admin']);
	   echo '<script type="text/javascript"> 
if (top.location !== self.location) {
    top.location = "index.php";
}
</script>';

}

?>

		<div style="height:70px;background:url('images/Pic2.jpg') no-repeat;">
			<div style="position: absolute; font-family: verdana; top: 10px; font-size: 12px; color: rgb(158, 169, 197); left: 143px;width:60%;">
				<marquee direction="left" scrollamount="3"  onmouseover="this.stop()" onmouseout="this.start()">
					
				</marquee>
			</div>
		</div>
	</div>
</body>
</html>
